﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 商家自定义的菜单类别
    /// </summary>
    [Table("MenuSubCategory")]
    public class Model_MenuSubCategory:Model_Base
    {
        /// <summary>
        /// 自定义菜单类别编号
        /// </summary>
        [Column("ID")]
        [Key]
        [Required]
        public string ID { get; set; }
        /// <summary>
        /// 子类别名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 上级菜单类别 系统定义的大的类别
        /// </summary>
        public string CategoryID { get; set; }
        /// <summary>
        /// 子菜单类别对应的店铺
        /// </summary>
        public string DianPuID { get; set; }
        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }
    }
}
